package org.ehe.business.overdue.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.business.overdue.domain.OverdueRecord;
import org.ehe.business.overdue.domain.OverdueRecordHistory;
import org.ehe.business.overdue.domain.bo.OverdueRecordBo;
import org.ehe.business.overdue.domain.vo.OverdueRecordVo;
import org.ehe.common.mybatis.core.page.PageQuery;
import org.ehe.common.mybatis.core.page.TableDataInfo;

import java.util.List;

/**
 * 响应超时预警Service
 * @author :zhangnn
 * @className :OverdueRecordService
 * @description: TODO
 * @date 2025-10-14 16:23:11
 */
public interface OverdueRecordService extends IService<OverdueRecord> {
    TableDataInfo<OverdueRecordVo> queryPageList(OverdueRecordBo bo, PageQuery pageQuery);

    List<OverdueRecordVo> queryList(OverdueRecordBo bo);

    Boolean updateHandleStatus(Long id, Integer status);

    Boolean deleteWithValidByIds(List<Long> ids, boolean b);

    OverdueRecordVo queryById(Long id);

    Boolean insertByBo(OverdueRecordBo bo);

    Boolean updateByBo(OverdueRecordBo bo);

    List<OverdueRecordHistory> queryOverdueHistory(Long id);
}
